<%@ Control Language="vb" AutoEventWireup="false"  Explicit="true" codefile="Edit.ascx.vb" Inherits="NVPortal.Modules.NVNews.Statistic_inc_edit" %>
<script type="text/javascript" language="JavaScript" src="/js/NVCorp.js"></script>
<style type="text/css">
.GroupTitle, .GroupTitle:link, .GroupTitle:visited, .subhead {font-family: Arial; font-size: 12px; color: #434343; padding: 10px; border-bottom: solid 1px #eee; text-align: right}
.ViewContent {font-family: Arial; font-size: 12px; color: #434343; padding: 10px; border-bottom: solid 1px #eee; }
</style>
<table width="100%">
    <tr>
        <td>
            <div id="divProductDisplay" runat="server" style="width:100%;display: block;">
                <table>
                    <tr>
                        <td style="width:150px;" class="subhead">Tiêu đề</td>
                        <td class="ViewContent">
                            <asp:Label ID="lbTitle" runat="server" Text=""></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="subhead">Ảnh</td>
                        <td class="ViewContent">
                            <asp:Image BorderWidth="1" BorderColor="#d2d2d2" Width="100" ID="imgNews" runat="server" /></td>
                    </tr>
                    <tr>
                        <td class="subhead">Tóm tắt</td>
                        <td class="ViewContent"><asp:Label ID="lbSummary" runat="server" Text=""></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="subhead">Ngày đăng</td>
                        <td class="ViewContent"><asp:Label ID="lbCreateDate" runat="server" Text=""></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="subhead">Thư mục tin</td>
                        <td class="ViewContent"><asp:Label ID="lbCagegoryName" runat="server" Text=""></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="subhead">Người đăng</td>
                        <td class="ViewContent"><asp:Label ID="lbUserName" runat="server" Text=""></asp:Label></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <table cellpadding="0" cellspacing="0">
		                        <tr>
		                            <td><asp:linkbutton id="lbtUpdateBottom" runat="server" Font-Bold="True"><img src="/images/Ahuyxuatban.jpg" border="0" alt="Hủy xuất bản" /></asp:linkbutton></td>
		                            <td width="40"></td>
		                            <td><asp:linkbutton id="lbtDeleteBottom" runat="server" Font-Bold="True"><img src="/images/Axoa.jpg" border="0" alt="Xóa tin" /></asp:linkbutton></td>
		                            <td width="40"></td>
		                            <td><asp:linkbutton id="lbtCancelBottom" runat="server" Font-Bold="True"><img src="/images/Aback.jpg" border="0" alt="back" /></asp:linkbutton></td>
		                        </tr>
		                    </table>
                        </td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div id="divProduct" runat="server" style="width:100%;display: block;">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td style="height:24px;">
                            Chọn 
                            <asp:CheckBox ID="CheckBox1" runat="server" /> để 
                            <asp:linkbutton id="lbtDeleteFeedback" ToolTip="Xoá các phản hồi đã được đánh dấu" runat="server" Font-Bold="True"><img src="/images/Axoabl.jpg" border="0" alt="back" /></asp:linkbutton>
                        </td>
                    </tr>
                </table>
                <asp:DataGrid DataKeyField ='NewsFeedbackId' id="dgrProducts" runat="server" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
	            BackColor="White" CellPadding="3" AutoGenerateColumns="False" AllowPaging="True" Width="100%">
	            <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
	            <ItemStyle ForeColor="#000066"></ItemStyle>
	            <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
	            <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
	            <Columns>
	                <asp:TemplateColumn>
	                    <HeaderTemplate>
                            <asp:CheckBox ID="chkItemsTop" runat="server" />
	                    </HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="chkItems" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Thông tin phản hồi">
                        <ItemTemplate>
                            <table width="100%">
                                <tr>
                                    <td class="subhead" style="width :100px;">Người gửi</td>
                                    <td>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"FullName") %>'></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="subhead">Ngày gửi</td>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"CreateDate") %>'></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="subhead">Email</td>
                                    <td><asp:Label ID="Label3" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"Email") %>'></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="subhead">Địa chỉ</td>
                                    <td><asp:Label ID="Label4" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"Address") %>'></asp:Label></td>
                                </tr>
                                <tr>
                                    <td class="subhead">Số điện thoại</td>
                                    <td><asp:Label ID="Label5" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"PhoneNumber") %>'></asp:Label></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                        <ItemStyle Width="300px" />
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Nội dung phản hồi">
                        <ItemTemplate>
                            <asp:Label ID="Label16" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"Content") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateColumn>
            		
                    <asp:TemplateColumn>
                        <ItemTemplate>
                            <asp:ImageButton OnClientClick="javascript:return confirm('Bạn có muốn xoá phản hồi này không?');"  id="deleteFeedBack" CommandName="deleteFeedBack" ImageUrl="~/images/delete.gif" AlternateText="Xoá" Runat="server" />
                        </ItemTemplate>
                    </asp:TemplateColumn>
	            </Columns>
	            <PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
            </asp:DataGrid>
            </div>
        </td>
    </tr>
</table>
